package cn.yajienet.data.elasticsearch;

import java.text.DateFormat;
import java.text.SimpleDateFormat;

/**
 * @Author Wang Chenguang
 * @Email wcg.chen@foxmail.com
 * @Date on 2021/12/18
 * @Version 1.0.0
 * @Description 默认全局常量
 */
public class ElasticSearchConstant {

    private ElasticSearchConstant() { }

    /**
     * 默认加载数据的等级
     */
    public static final int DEFAULT_LOAD_DATA_ORDER = 0;

    public static final DateFormat DATE_FORMAT = new SimpleDateFormat("yyyy-MM-dd-HH-mm-ss");

    public static final String CACHE_INDEX_SUFFIX = "-cache";

    public static final String EL_START = "${";

    public static final String EL_END = "}";

}
